package com.xiaohao.news.entity;

import lombok.Data;

/**
 * 新闻信息
 */
@Data
public class News {

    private static final long serialVersionUID = 1L;

    //id
    private Long id;


    //新闻标题
    private String title;

    //新闻封面
    private String img;

    //作者
    private Long authorId;

    //发布日期
    public String publishDate;

    //新闻详情
    private String content;

    //新闻状态 1已审核 2已拒绝 3待审核
    private int statu;
}
